package com.yhn.init.model.enums;

import lombok.Getter;

/**
 * 入库状态枚举类
 *
 * @author yhnyhn123
 * @version 1.0
 * @description
 * @date 2024/3/27 8:43
 */
@Getter
public enum InboundItemsStatusEnum {
    CREATED("创建成功", "created"),
    CONFIRM("财务确认", "confirm"),
    APPROVED("经理审批通过", "approved"),
    REJECTED("审批不通过", "rejected"),
    EXCEPTION("入库异常", "fail");

    private final String text;

    private final String value;

    InboundItemsStatusEnum(String text, String value) {
        this.text = text;
        this.value = value;
    }
}
